<%@ page language="java" import="java.util.*,StudentScore.*" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>更新成功</title>
</head>
<body>
<form name="postForm" action="MenuTeacher.jsp" method="post">
 <%
    	StudentDao sdao = new StudentDaoJDBC();
    	String stuno = request.getParameter("stuno");
    	String name = request.getParameter("stuname");
    	String sex = request.getParameter("stusex");
    	String birthday = request.getParameter("stubirthday");
    	int s = sdao.update(stuno, name, sex,birthday);	
    %>
<p>更新成功！返回菜单</p>

<input type="submit" value="MENU" />
</form>
</body>
</html>